//
//  AvatarView.h
//  CandyCrushClone
//
//  Created by Petar on 4/23/15.
//  Copyright (c) 2015 Nestorov Engineering. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface AvatarView : UIView

@property (nonatomic) UIImage *image;
@property (nonatomic) NSString *name;
@property (nonatomic, assign) BOOL shouldTransitionToFinishedState;

- (void)bounceOffPoint:(CGPoint)bouncePoint morphSize:(CGSize)morphSize;
- (void)setCircleLayerStrokeColor:(UIColor *)strokeColor andFillColor:(UIColor *)fillColor;
- (void)setName:(NSString *)name withColor:(UIColor *)textColor;
- (void)setImage:(UIImage *)image forLocalPlayer:(BOOL)isForLocalPlayer;

@end
